<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        //对于对象的取值,一般就是用点就行了
        let obj={
            'name':'zhangsan',
            'age':10
        }
        console.log(obj.age);
        console.log(obj.name);
    </script>
</body>
</html>